package com.yuanfeng.action.admin.type.service;

import com.yuanfeng.pojo.Types;

import java.util.List;

public interface TypeService {
	/**
	 * 分类查询逻辑
	 * @return
	 */
	public List<Types> queryTypes();

	/**
	 * 新增分类
	 * @param types
	 * @return
	 */
	public Types add(Types types);

	/**
	 * 删除分类
	 * @param types
	 */
	public void delete(Types types);
}
